package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 为你精选表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("carefully_chosen")
public class CarefullyChosen extends Model<CarefullyChosen> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 精选频道标题
     */
    private String title;
    /**
     * 精选展示图
     */
    private String image;
    /**
     * 精选排序
     */
    private Integer sort;
    /**
     * 为你精选频道商品id
     */
    @TableField("goods_ids")
    private String goodsIds;
    /**
     * 频道开关:0.开，1.关
     */
    private Integer flag;
    @TableField("is_big")
    private Integer isBig;
    /**
     * 删除标志：0正常，1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(String goodsIds) {
        this.goodsIds = goodsIds;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getIsBig() {
        return isBig;
    }

    public void setIsBig(Integer isBig) {
        this.isBig = isBig;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CarefullyChosen{" +
        "id=" + id +
        ", title=" + title +
        ", image=" + image +
        ", sort=" + sort +
        ", goodsIds=" + goodsIds +
        ", flag=" + flag +
        ", isBig=" + isBig +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
